+2008-05-19 Richard Hult <richard@imendio.com>
+
+ * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
+ (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
+ SetSystemUIMode instead of hiding and showing the menubar.
+
2008-05-19 Federico Mena Quintero <federico@novell.com>
http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
/* Make sure we're not stuck in fullscreen mode. */
if (get_fullscreen_geometry (window))
- ShowMenuBar ();
+ SetSystemUIMode (kUIModeNormal, 0);
if (GDK_WINDOW_DESTROYED (window))
return;
frame.size.width, frame.size.height);
}
- HideMenuBar ();
+ SetSystemUIMode (kUIModeAllHidden, kUIOptionAutoShowMenuBar);
gdk_synthesize_window_state (window, 0, GDK_WINDOW_STATE_FULLSCREEN);
}
geometry = get_fullscreen_geometry (window);
if (geometry)
{
- ShowMenuBar ();
+ SetSystemUIMode (kUIModeNormal, 0);
move_resize_window_internal (window,
geometry->x,